package org.go.helpers;

/**
 * 
 * @author hejie
 *
 */
public class VersionPrinter {

	public static void main(String[] args) {
		System.out.println("Go version: " + "0.8 beta release 2012-01-28");
		//System.out.println("Go version: " + QuartzScheduler.getVersionMajor() + "." + QuartzScheduler.getVersionMinor() + "." + QuartzScheduler.getVersionIteration());
	}

	/**
	 * Private constructor because this is a pure utility class.
	 */
	private VersionPrinter() {
	}

	public final static String version = "taobao-pamirs-schedule-3.0.0";

	public static String getVersion() {
		return version;
	}

	public static boolean isCompatible(String dataVersion) {
		if (version.compareTo(dataVersion) >= 0) {
			return true;
		} else {
			return false;
		}
	}
}
